<div class="panel-body">

    <!-- role="form" data-toggle="validator" -->
    <form id="add-form" class="form-horizontal"  method="POST" action="">

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">企业名称:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-merchant_name" class="form-control" data-rule="required" name="row[merchant_name]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">企业简称:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-abbr" class="form-control" data-rule="required" name="row[abbr]" type="text" value="">
            </div>
        </div>
    
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">企业图片:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-merchant_image" class="form-control" size="50" name="row[merchant_image]" type="text">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="faupload-merchant_image" class="btn btn-danger faupload" data-input-id="c-merchant_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-merchant_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="fachoose-merchant_image" class="btn btn-primary fachoose" data-input-id="c-merchant_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-merchant_image"></span>
                </div>
                <ul class="row list-inline faupload-preview" id="p-merchant_image"></ul>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">联系电话:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-merchant_tel" class="form-control" data-rule="required" name="row[merchant_tel]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-address" class="form-control" data-rule="required" name="row[address]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Comments')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea id="c-comments" class="form-control " rows="5" name="row[comments]" cols="50"></textarea>
            </div>
        </div>

        <!-- <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div> -->
        
        <div id="toolbar" class="toolbar" style="text-align: center;" >
            <a class="btn btn-info btn-add-merchant " href="javascript:;">确认添加</a>
        </div>
    
    </form>
</div>

